home *** CD-ROM | disk | FTP | other *** search
- Path: lys.vnet.net!not-for-mail
- From: gregg@lys.vnet.net (gregg)
- Newsgroups: comp.lang.c++
- Subject: Passing a va_list as a parameter. How?
- Date: 4 Jan 1996 16:49:16 -0500
- Organization: Vnet Internet Access, Charlotte, NC - info@char.vnet.net
- Message-ID: <4chi0s$gg7@lys.vnet.net>
- NNTP-Posting-Host: lys.vnet.net
-
- Here's what I'm trying to do:
-
- void foo (int arg1, ...)
- {
- va_list args;
- va_start(args,arg1);
- ...
- va_end(args);
- }
-
- void callfoo (int arg1, ...)
- {
- foo (arg1, ...);
- } ^^^^^^^^^^^^^^^^
-
- How can I do this?
-
- I am using MSVC C++ 4.0.
-
- Thanks,
-
- -Greg G
-
-